<html>
<head><meta charset="utf-8"><title>doc directory clearing · t-cargo · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/index.html">t-cargo</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/doc.20directory.20clearing.html">doc directory clearing</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="235924997"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/doc%20directory%20clearing/near/235924997" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/doc.20directory.20clearing.html#235924997">(Apr 23 2021 at 23:55)</a>:</h4>
<p>@Mark-Simulacrum Regarding the <code>doc</code> directory issue (<a href="https://github.com/rust-lang/cargo/issues/9336">https://github.com/rust-lang/cargo/issues/9336</a>), would you object to having rustbuild set a special environment variable that disables cargo's clearing behavior? I can't think of a solution that deals with the way rustbuild shares directories. I'm reluctant to have special-case behavior just for rustbuild, but I'm running out of ideas. I don't think reworking how rustbuild structures things is feasible, either.</p>



<a name="235925364"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/doc%20directory%20clearing/near/235925364" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/doc.20directory.20clearing.html#235925364">(Apr 24 2021 at 00:00)</a>:</h4>
<p>No problem for me, we have a bunch of that already, but a -Z flag feels a bit better</p>



<a name="235925448"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/doc%20directory%20clearing/near/235925448" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/doc.20directory.20clearing.html#235925448">(Apr 24 2021 at 00:01)</a>:</h4>
<p>Yea, that sounds good. I'll work on that and try to get it in before the beta cutoff. Thanks!</p>



<a name="235925489"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/doc%20directory%20clearing/near/235925489" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/doc.20directory.20clearing.html#235925489">(Apr 24 2021 at 00:01)</a>:</h4>
<p>(maybe even we'll eventually move the sharing code into cargo)</p>



<a name="235925502"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/doc%20directory%20clearing/near/235925502" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/doc.20directory.20clearing.html#235925502">(Apr 24 2021 at 00:02)</a>:</h4>
<p>I'd not be opposed to a backport if it's necessarily fwiw</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>